﻿<UserControl
    x:Class="NotificationPusher.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
    xmlns:uriMapper="clr-namespace:System.Windows.Navigation;assembly=System.Windows.Controls.Navigation">

    <Grid
        x:Name="LayoutRoot"
        Background="White">
        <StackPanel
            VerticalAlignment="Top"
            Margin="0,100,0,0"
            HorizontalAlignment="Center"
            Width="400">
            <StackPanel
                Orientation="Horizontal">
                <Image
                    Height="24"
                    Source="Assets/logo.jpg"
                    Stretch="Fill"
                    Width="24" />
                <TextBlock
                    Text="WINDOWS PHONE"
                    FontFamily="Segoe WP Semibold"
                    FontSize="18"
                    Margin="3,0,0,0" />
            </StackPanel>
            <TextBlock
                Text="PUSH NOTIFICATIONS"
                FontFamily="Segoe WP Semibold"
                FontSize="36" />
            <StackPanel
                Margin="0,10,0,10"
                x:Name="LinksStackPanel"
                Orientation="Horizontal">
                <TextBlock
                    Margin="0,0,20,0"
                    VerticalAlignment="Center"
                    Text="SELECT NOTIFICATION TYPE"
                    Style="{StaticResource LabelStyle}" />
                <HyperlinkButton
                    Content="TOAST"
                    NavigateUri="/Toast"
                    Style="{StaticResource LinkStyle}" />
                <HyperlinkButton
                    Content="TILE"
                    NavigateUri="/Tile"
                    Style="{StaticResource LinkStyle}" />
                <HyperlinkButton
                    Content="RAW"
                    NavigateUri="/Raw"
                    Style="{StaticResource LinkStyle}" />
                <HyperlinkButton
                    Content="ABOUT"
                    NavigateUri="/Main"
                    Style="{StaticResource LinkStyle}" />
            </StackPanel>
            <navigation:Frame
                Navigated="ContentFrame_Navigated"
                x:Name="ContentFrame">
                <navigation:Frame.UriMapper>
                    <uriMapper:UriMapper>
                        <uriMapper:UriMapping
                            Uri=""
                            MappedUri="/Views/MainView.xaml" />
                        <uriMapper:UriMapping
                            Uri="/{pageName}"
                            MappedUri="/Views/{pageName}View.xaml" />
                    </uriMapper:UriMapper>
                </navigation:Frame.UriMapper>
            </navigation:Frame>
        </StackPanel>
    </Grid>
</UserControl>
